package canss.webservice.controls;


import org.apache.beehive.controls.api.bean.ControlInterface;

import weblogic.jdbc.SQLExceptionWrapper;

@ControlInterface
public interface CIDControl
{

	Boolean isDuplicatedCID(String _cid) throws SQLExceptionWrapper;

	int getNumberofContents() throws SQLExceptionWrapper;

	String[] getCIDWithin(int _numbers) throws SQLExceptionWrapper;

	Boolean createContentID(String _cid) throws SQLExceptionWrapper;

	Boolean deleteContentID(String _cid) throws SQLExceptionWrapper;

	/*
	Boolean setContentStatus(String _cid, int _status)
			throws SQLExceptionWrapper, RuntimeException;
*/
}